const tokenName = "token";
export function getToken() {
  return localStorage.getItem(tokenName);
}
export function setToken(token) {
  return localStorage.setItem(tokenName, token);
}
export function removeToken() {
  return localStorage.removeItem(tokenName);
}
export function setSessionToken(token) {
  return sessionStorage.setItem(tokenName, token);
}
export function getSessionToken() {
  return sessionStorage.getItem(tokenName);
}
export function removeSessionToken() {
  return sessionStorage.removeItem(tokenName);
}
